package com.github.boluo1230.wechat.entity.vo;

import com.github.boluo1230.wechat.entity.AutoReplyKeywordsInfo;
import com.github.boluo1230.wechat.entity.BaseReplyInfo;
import lombok.Data;

import java.util.List;

/**
 * @author Code Farmer
 * @date 2019/10/16 20:18
 */
@Data
public class MpAutoReplyInfo {

    private String appId;
    private boolean isAddFriendReplyOpen;
    private boolean isAutoReplyOpen;
    private List<AutoReplyKeywordsInfo> autoReplyKeywordsInfoList;

    public MpAutoReplyInfo(BaseReplyInfo baseReplyInfo, List<AutoReplyKeywordsInfo> autoReplyKeywordsInfoList) {
        this.appId = baseReplyInfo.getAppId();
        this.isAddFriendReplyOpen = baseReplyInfo.isAddFriendReplyOpen();
        this.isAutoReplyOpen = baseReplyInfo.isAutoReplyOpen();
        this.autoReplyKeywordsInfoList = autoReplyKeywordsInfoList;
    }

}
